<{include file="admin/header.html"}>

<div class="tabs">
    <div class="panel-header-select">
		<label><{#_LB_PLACE#}></label>
	</div>
</div>
<div class="buttons_action" align="right">
	<button type="button" onClick="window.location='<{$smarty.const.APPLICATION_URL}>/admin/place/action/add'">
	    <img alt="" src="<{$smarty.const.STATIC_COMPONENT_URL}>images/add_16.png"/>
	    <{#_LB_ADD#}>
	</button>
</div>
<br>
<table class="grid">				
	<tr class="head">
        <td width="10%"><{#_LB_PLACE_ID#}></td>	
		<td width="20%"><{#_LB_PLACE_NAME#}></td>	
		<td width="10%"><{#_LB_FUNCTION#}></td>				
	</tr>
	<{while $place->fetch()}>
		<tr>
            <td><{$place->id}></td>
			<td><{$place->name}></td>
			<td>
				<a href="<{$smarty.const.APPLICATION_URL}>/admin/place/action/edit/id/<{$place->id}>" title="edit" >
					<img border=0 alt="edit_small.png" src="<{$smarty.const.STATIC_COMPONENT_URL}>images/edit_small.png"/>						
				</a>		
				
				<a onclick="return confirm('<{#_LB_DELETE_CONFIRM#}>')" href="<{$smarty.const.APPLICATION_URL}>/admin/place/action/delete/id/<{$place->id}>" title="delete" >
					<img border=0 alt="delete_small.png" src="<{$smarty.const.STATIC_COMPONENT_URL}>images/delete_small.png"/>						
				</a>		
			</td>
		</tr>
	<{/while}>	
</table>	

<div align="right">
	<{include file='pager.html' data=$place->getPaginationData() url_base=$url_base}>
</div>


<{include file="admin/footer.html"}>